-- quantum_mechanics
-- created by zhuangsl
-- 量子状态

return {
    fetchProps = function(who, status, condition)
        local props  = {};
        local propId = PropM.getPropId("quantum_mechanics");
        local reduce = condition["reduce"];
        local endRound = condition["end_round"];

        return { { propId, 1, reduce, endRound } };
    end,

    desc = function(who, status, condition)
        -- 获取状态描述
        local cfg = CombatStatusM.getStatusInfo(status);
        local desc = cfg.desc;

        -- 效果
        local hp = condition["hp"];
        desc = string.gsub(desc, "{value}", hp);

        return desc;
    end,
};
